package com.xiaoshuidi.cloud.module.member.controller.admin.coupon.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class CouponListExeclVO implements Serializable {

    private static final long serialVersionUID = -9140966894040084934L;
    private Integer couponType;

    private String couponTypeName;

    private String couponName;

    @Schema(description = "优惠类型|0 立减|1 折扣")
    private Integer preferentialContentType;

    @Schema(description = "优惠金额 或者百分比")
    private BigDecimal marginPreference;

    @Schema(description = "老客 优惠类型| 0 立减|1 折扣")
    private Integer preferentialContentTypeOld;

    @Schema(description = "新客 优惠金额 或者百分比")
    private BigDecimal marginPreferenceOld;

    private String offerContent;

    private String activityDuration;

    private Date activityStartTime;
    /**
     * 活动结束时间
     */
    @Schema(description = "活动结束时间")
    private Date activityEndTime;

//    private Long apartmentId;

    private String apartmentName;

    @Schema(description = "优惠券总量 -1没有限制")
    private Long stock;

    @Schema(description = "优惠券总量 -1没有限制")
    private String stockNum;


    @Schema(description = "优惠券剩余量 -1没有限制")
    private Long surplusStock;

    @Schema(description = "优惠券剩余量 -1没有限制")
    private String surplusStockNum;

    @Schema(description = "发放总量 -1没有限制")
    private Long sendStock;

    @Schema(description = "使用量")
    private Long couponUsage;

    @Schema(description = "创建人")
    private String creator;

    @Schema(description = "创建人名称")
    private String createdName;

    @Schema(description = "状态")
    private Integer couponStatus;


    @Schema(description = "状态")
    private String couponStatusName;

    @Schema(description = "活动门店 -支持多门店")
    private List<CouponApartmentVO> apartmentIds;
}
